
package com.fx.apartment.modules.dynamic.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fx.apartment.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 朋友圈动态实体类
 *
 * @author QinXueFeng
 * @since 2021-04-19
 */
@Data
@TableName("ctn_dynamic")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Dynamic对象", description = "朋友圈动态")
public class Dynamic extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 内容
	*/
		@ApiModelProperty(value = "内容")
		private String content;
	/**
	* 资源地址
	*/
		@ApiModelProperty(value = "资源地址")
		private String resourcesUrl;
	/**
	* 资源类型0无1图片2视频
	*/
		@ApiModelProperty(value = "资源类型0无1图片2视频")
		private Integer resourcesType;
	/**
	* 点赞数
	*/
		@ApiModelProperty(value = "点赞数")
		private Integer thumbsUpNum;
	/**
	* 评论数
	*/
		@ApiModelProperty(value = "评论数")
		private Integer commentNum;
	/**
	* 创建人名称
	*/
		@ApiModelProperty(value = "创建人名称")
		private String createUserName;


}
